package com.xxb.service.message.rest;

import com.xxb.common.result.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author RenGaoshuai
 * @date 2023/7/26 13:53
 * @description
 */
@RequestMapping("/message")
@RestController
@Slf4j
public class MessageTestController {

    @PostMapping("/testMessage")
    public R<String> testMessage(){
        log.info("【testMessage】接口请求参数为:{}","abc");
        log.info("【testMessage】接口响应参数为:{}","efg");
        return R.ofSuccess("this is message");
    }
}
